package yzq.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import yzq.entity.User;

@Mapper
public interface UserMapper {
	@Select("select * from user")
	List<User> getAllUsers();
	
	@Delete("delete from user where 1d=#{id}")
	void delete(Integer id);
}
